import StringUtil from '@/utils/string.js';

export const getUser = (state) => state.user?.user;
export const getToken = (state) => state.user?.token;
export const geIsLogin = (state) => StringUtil.isNotEmpty(state.user?.token);
